package com.easylinkin.linkappapi.meterbilling.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.meterbilling.entity.MeterDeviceConfig;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MeterDeviceConfigMapper extends BaseMapper<MeterDeviceConfig> {
    int batchInsert(@Param("list") List<MeterDeviceConfig> list);

    int updateBatch(List<MeterDeviceConfig> list);

    int updateBatchSelective(List<MeterDeviceConfig> list);

    List<MeterDeviceConfig> getMeterDeviceConfigList(@Param("page") Page page,@Param("item") MeterDeviceConfig meterDeviceConfig);

    List<MeterDeviceConfig> getMeterDeviceConfigList(@Param("item") MeterDeviceConfig meterDeviceConfig);

    List<MeterDeviceConfig> getDeviceAll(@Param("item") MeterDeviceConfig meterDeviceConfig);
}